<template>
	<view class="content">
		<ads v-show="showAds" @click="close" adType="1" :option="adOption"></ads>
	</view>
</template>

<script>
	import ads from '@/components/vshare-ads.vue'
	export default {
		data() {
			return {
				title: 'Hello',
				showAds:true,
				adOption:{
					bgColor:'rgb(165, 103, 63,.8)',
					adAppid:'',
					adImg:'https://image.vshare.site/ads/2020ads.jpg',
					adDesc:'xxxxx',
					adBtn:'进入小程序',
					adType:1,
					adUrl:''
				}
			}
		},
		components:{
			ads
		},
		onLoad() {

		},
		methods: {
			close: function(){
				this.showAds = false;
			},
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
